import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../../common.dart';

class Suu extends StatefulWidget {
  Suu({super.key});
  @override
  State<Suu> createState() => _QGRulePageState();
}

class _QGRulePageState extends State<Suu> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Color(0xFFFFFFFF),
      body: ListView(
        padding: EdgeInsets.symmetric(horizontal: 15, vertical: 30),
        children: [
          Column(
            children: [
              SizedBox(height: 100),

              wImage(url: 'chenggong', width: 100),
              SizedBox(height: 10),

              wText(text: '您已兑换成功', size: 15),
              SizedBox(height: 5),

              wText(text: '商品已兑换成功，请等待发货', color: '878b95', size: 14),
              SizedBox(height: 25),
            ],
          ),
          // Container(
          //   padding: EdgeInsets.symmetric(vertical: 13,horizontal: 13),
          //   decoration: BoxDecoration(
          //     color: Color(0XFFF8F9FD),
          //     borderRadius: BorderRadius.circular(10)
          //   ),
          //   child: Column(
          //     children: [
          //       Row(
          //         mainAxisAlignment: MainAxisAlignment.spaceBetween,
          //         children: [
          //           wText(text: '商品名称',color: '878b95',size: 14),
          //           wText(text: '藏品名称二十个字藏品'),
          //         ],
          //       ),
          //       SizedBox(height: 20,),
          //        Row(
          //         mainAxisAlignment: MainAxisAlignment.spaceBetween,
          //         children: [
          //           wText(text: '商品类型',color: '878b95',size: 14),
          //           wText(text: '实物商品'),
          //         ],
          //       ),
          //       SizedBox(height: 20,),
          //        Row(
          //         mainAxisAlignment: MainAxisAlignment.spaceBetween,
          //         children: [
          //           wText(text: '兑换类型',color: '878b95',size: 14),
          //           wText(text: '实物商品'),
          //         ],
          //       ),

          //       SizedBox(height: 20,),
          //        Row(
          //         mainAxisAlignment: MainAxisAlignment.spaceBetween,
          //         children: [
          //           wText(text: '订单编号',color: '878b95',size: 14),
          //           wText(text: 'FF239048902345'),
          //         ],
          //       ),
          //       SizedBox(height: 20,),
          //        Row(
          //         mainAxisAlignment: MainAxisAlignment.spaceBetween,
          //         children: [
          //           wText(text: '兑换数量',color: '878b95',size: 14),
          //           wText(text: '实物商品'),
          //         ],
          //       ),
          //       SizedBox(height: 20,),
          //        Row(
          //         mainAxisAlignment: MainAxisAlignment.spaceBetween,
          //         children: [
          //           wText(text: '兑换时间',color: '878b95',size: 14),
          //           wText(text: '实物商品'),
          //         ],
          //       ),
          //        SizedBox(height: 20,),
          //        Row(
          //         mainAxisAlignment: MainAxisAlignment.spaceBetween,
          //         children: [
          //           wText(text: '消耗藏品',color: '878b95',size: 14),
          //           wText(text: '普通兑换'),
          //         ],
          //       ),
          //     ],
          //   ),
          // ),
          SizedBox(height: 20),
          wCon(
            text: Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [wText(text: '确认', color: 'FFFFFF', size: 18)],
            ),
            click: () {
              back();
            },
          ),
          // Container(
          //     padding: EdgeInsets.symmetric(horizontal: 25),
          //     margin: EdgeInsets.symmetric(horizontal: 15,vertical: 15),
          //     height: 50,
          //     decoration: BoxDecoration(
          //       color: Color(0XFF0F172B),
          //       borderRadius: BorderRadius.circular(50)
          //     ),
          //     child: Row(
          //       mainAxisAlignment: MainAxisAlignment.center,
          //       children: [
          //         wText(text: '确认',color: 'FFFFFF',size: 18),
          //       ],
          //     ),
          //   ),
        ],
      ),
    );
  }
}
